package com.qq.BFMRSE.util;

public class BFConstants {
	public static String URL = "http://192.168.1.101:8080/BF_MRSEServer";//服务器
	public static String URLSPE = "/";
	public static String HANDLELOGIN = "login";
	public static String INDEXPATH = "luIndex";//lucene文本索引的默认位置
	public static int A = 2;//默认每个文件提取的关键字个数
	public static String WORDINFOFILE = "wordInfo";
	public static String IDFMAPSERNAME = "idfMap.obj";
	public static String TFWORDINFOS = "tfWordInfos.obj";
	public static String SELECTWORD = "selectWord.obj";
	public static String INITKEYVALUE = "initKeyValue.obj";
	public static String SK="SK.obj";
	public static String ROOT="root.obj";
	public static String ORGINPATHINFO="orginPathInfo";
	public static String ORGINPATH="orginPath.obj";
	public static int DUMMUYKWYWORDCOUNT=50;
	public static int U=50;//u为dummuy keyword的个数
	public static int UPENCRYPTFILE=1;
	public static int UPENCRYPTTREE=2;
	public static int UPENCRYPTINDEX=3;
	public static String UPENCRYPTTREEURL="newIndexTree";
	public static String UPENCRYPTINDEXURL="newEncryIndex";
	public static String WORDSPILTB=" ";
	public static String SEARCH="search";
	public static String ENCRYPTFILETEMPDIR="encryptedTemp";
	public static String UPENCRYPTFILEURL="newEncryFile";
	public static String DESKEYFILENAME="desKey.txt";
	public static String ALGORITHM="DES";
	public static String DOWNLOADFILESURL="downloadFile";
	public static String DOWNZIPFILENAME="downloadFiles.zip";
	public static String REGISTERNEWUSER="register";
	public static String CHECKEMAIL="^([a-z0-9A-Z]+[-|\\.]?)+[a-z0-9A-Z]@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?\\.)+[a-zA-Z]{2,}$";
	public static String CHECKPWD="^[a-zA-Z0-9]{6,10}$";
	public static String TXTFILEEND=".txt";
	public static String ZIPFILEEND=".zip";
	public static String ZIPTMP="tmp";
	public static int UT_DELETE=1;//更新类型
	public static int UT_ADD=2;
	public static String DELETEFILE="deleteFiles";
	public static String ADDFILE="addFile";
	public static String EMPTYNODES="emptyNodePaths.obj";
	public static String WORDCOUNTINFO="wcInfo.obj";

}
